/*
 * Created on Jun 29, 2005
 *
 */
package com.erclab.internal.xpresso.forms;

import java.util.HashMap;

import com.erclab.internal.xpresso.datavalidators.DataValidationError;
import com.erclab.internal.xpresso.exceptions.FormException;

/**
 * @author Enrique Rodriguez.
 *
 */
public interface FormHelper {

	public void beforeFormCreation(Form theForm) throws FormException;
	public void afterFormCreation(Form theForm) throws FormException;
	public void afterSubmission(Form theForm, HashMap keyValues) throws FormException, DataValidationError;
	public void afterModification(Form theForm, HashMap keyValues) throws FormException, DataValidationError;

}
